//
//  NSDictionary+Element.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 BaseBusiness. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSDictionary (Element)

+ (id)getElementForKey:(id)key fromDict:(NSDictionary *)dict forClass:(Class)forClass;

@end

//字典取值
#define KGetObjFromDict(__key, __dict, __class)     [NSDictionary getElementForKey:__key fromDict:__dict forClass:__class]

NS_ASSUME_NONNULL_END
